package com.qf.java2107.service;
import com.github.pagehelper.PageInfo;
import com.qf.java2107.pojo.Passenger;
import com.qf.java2107.pojo.Passports;

import java.util.List;

/**
 * @author YB
 * @date 2022/01/07
 * @VERSION V1.0
 **/
public interface PassengerService {


    List<Passenger> findAll();

    PageInfo<Passenger> findPage(Integer pageNum,Integer pageSize);

    Passports findById(Integer id);
}
